<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>100 rectangles</title>
</head>
<body>

	<script type="text/javascript">
		  
		for(var i=0; i < 100; i++)
			{
				
				document.write('<div style="background-color:#FF0000">New Div</div>');
			}
		
	</script>
</body>
</html>